﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OnlineManagement.Model
{
    /// <summary>
    /// 乳猪断奶登记实体类
    /// </summary>
   public class WeanedRecord
    {
       public Guid RecordID { get; set; }
       public int HoggeryID { get; set; }

       public Guid SowID { get; set; }
       /// <summary>
       ///配种记录编号，需要根据此编号获得父亲耳号和品种
       /// </summary>
       public Guid HybrizationRecord { get; set; }

       /// <summary>
       /// 母猪分娩登记编号,获取乳猪日龄
       /// </summary>
       public Guid PropagateRecordID { get; set; }
       /// <summary>
       /// 断奶日期
       /// </summary>
       public DateTime WeanedDate { get; set; }

       /// <summary>
       /// 断奶乳猪头数
       /// </summary>
       public int WeanedChildCount { get; set; }

       /// <summary>
       /// 乳猪猪舍号
       /// </summary>
       public Guid ChildPigPenID { get; set; }

       /// <summary>
       /// 母猪猪舍号
       /// </summary>
       public Guid SowPigPenID { get; set; }

       /// <summary>
       /// 存活率,页面以百分号形式显示,98.11%
       /// </summary>
       public string SurvivalRate { get; set; }

       public string Comment { get; set; }

    }
}
